﻿<%@ Page Language="C#" MasterPageFile="~/PaginaInicio.master" AutoEventWireup="true" CodeFile="ConfirmarReunion.aspx.cs" Inherits="ConfirmarReunion" Title="Página sin título" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">

        
        .modalBackground {
 background-color:Black;
 filter:alpha(opacity=70);
 opacity:0.7;
}
        .tablaEncabezado
        {
            color: #FFFFFF;
            height: 15px;
            font-family: Tahoma;
            font-size: medium;
            background-color: #0085C6;
            font-size:small;
            
        }
        .tablaFilas
        {
        	color: #FFFFFF;
            height: 15px;
            font-family: Tahoma;
            font-size: medium;
            font-size:small;
        }
       
        .etiquetas
        {
	        color: #FFFFFF;
        }
                .accordionCabecera
{

background-color: #C62D73;
font-family: Tahoma;
font-size: 12px;
font-weight: bold;
margin-bottom: 3px;
margin-top: 3px;
padding: 3px;
cursor: pointer;
Height: 20px;
color: #CCCCCC;

}
   .style64
     {
         color: #FFFFFF;
     }
     
     .style66
     {
         text-decoration: none;
     }
 .accordionCabeceraInterna
{

background-color: #0085C6;
font-family: Tahoma;
font-size: 12px;
font-weight: bold;
margin-bottom: 2px;
padding: 2px;
cursor: pointer;
Height: 21px;
color: #CCCCCC;
        width: 100%;
    }
.accordionContenido
{
font-family: Tahoma;
background-color: #00334C;
border: none;
border-top: none;
margin-bottom: 7px;
font-size: 12px;
padding: 3px;
 width: 100%;
}
  .style63
        {
            width: 578px;
        }
.accordionContenidoInterno
{
    border-style: none;
        border-color: inherit;
        border-width: medium;
        font-family: Tahoma;
        background-color: #00547D;
        margin-bottom: 7px;
        font-size: 12px;
        padding: 3px;
 
    }
        .style70
    {
        background-color: #C62D73;
        font-family: Tahoma;
        font-size: 12px;
        font-weight: bold;
        margin-bottom: 3px;
        margin-top: 3px;
        padding: 3px;
        cursor: pointer;
        Height: 20px;
        color: #CCCCCC;
        text-align: left;
    }
        </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">



 <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
 <script src="jquery-1.4.2.js" type="text/javascript"></script>

    <script src="jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
<script type="text/javascript">
	$(function() {
		$("#accordion").accordion({
			active: false, 
    alwaysOpen: false, 
   
			autoHeight: false
    
		});
	});
</script>
 
    <table style="width: 100%;">
        <tr>
            <td>
                </td>
                    
                    
                    
                    
            <td class="style63">
   
              
 <div >

<div id="accordion" >
	<h3 class="accordionCabecera"><a href="#" class="style66"><span class="style64">
        Reuniones Pendientes</span> </a></h3>                   
	<div class="accordionContenidoInterno">
		
		<span>
        <asp:GridView ID="gvReunionesPendientes" runat="server" AllowSorting="True" 
            AutoGenerateColumns="False" Height="90%" 
            onselectedindexchanging="gvReunionesPendientes_SelectedIndexChanging" 
            onsorting="gvReunionesPendientes_Sorting" style="text-align: center; margin-top: 0px" 
            Width="100%" >
            <RowStyle CssClass="tablaFilas" />
            <Columns>
               
                <asp:BoundField DataField="Nro" HeaderText="Nro">
                    <HeaderStyle CssClass="tablaEncabezado" />
                    <ItemStyle CssClass="tablaFilas" />
                </asp:BoundField>
                <asp:BoundField DataField="Apellido" HeaderText="Apellido">
                    <HeaderStyle CssClass="tablaEncabezado" />
                    <ItemStyle CssClass="tablaFilas" />
                </asp:BoundField>
               
               <%-- <asp:BoundField DataField="Fecha" HeaderText="Fecha" SortExpression="Fecha">
                    <HeaderStyle CssClass="tablaEncabezado" />
                    <ItemStyle CssClass="tablaFilas" />
                </asp:BoundField>
--%>                
                <asp:BoundField DataField="Fecha" HeaderText="Fecha de Reunion" 
                    SortExpression="Fecha">
                    <HeaderStyle CssClass="tablaEncabezado" />
                    <ItemStyle CssClass="tablaFilas" />
                </asp:BoundField>
                <asp:BoundField DataField="Hora" HeaderText="Hora">
                    <HeaderStyle CssClass="tablaEncabezado" />
                    <ItemStyle CssClass="tablaFilas" />
                </asp:BoundField>
                 <asp:BoundField DataField="Motivo" HeaderText="Motivo">
                    <HeaderStyle CssClass="tablaEncabezado" />
                    <ItemStyle CssClass="tablaFilas" />
                </asp:BoundField>
                <asp:CommandField ShowSelectButton="True" SelectText="Detalles">
                    <HeaderStyle CssClass="tablaEncabezado" />
                    <ItemStyle CssClass="tablaFilas" ForeColor="White" />
                </asp:CommandField>
            </Columns>
        </asp:GridView>
        </span>
		
		</div>
	<h3 class="accordionCabecera"><a href="#" class="style66"><span class="style64">
        Reunion</span> </a></h3>
	<div class="accordionContenidoInterno">
       
        
        
        
        
        
        
        
        
                      <div align="right">
                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                <ContentTemplate>
                                   
                                        <table style="width:100%;">
                                            <tr>
                                                <td style="text-align: left">
                                                    <asp:Label ID="lblApe" runat="server" style="color: #FFFFFF; font-size: small" 
                                                        Text="Apellido: "></asp:Label>
                                                    <asp:Label ID="lblApellido" runat="server" 
                                                        style="color: #FFFFFF; font-size: small" Text="Label"></asp:Label>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:Label ID="lblNom" runat="server" style="color: #FFFFFF; font-size: small" 
                                                        Text="Nombre: "></asp:Label>
                                                    <asp:Label ID="lblNombre" runat="server" 
                                                        style="color: #FFFFFF; font-size: small" Text="Label"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: left">
                                                    <asp:Label ID="lblFec" runat="server" style="color: #FFFFFF; font-size: small" 
                                                        Text="Fecha: "></asp:Label>
                                                    <asp:Label ID="lblFecha" runat="server" 
                                                        style="color: #FFFFFF; font-size: small" Text="Label"></asp:Label>
                                                    &nbsp;&nbsp;
                                                    <asp:Label ID="lblhor" runat="server" style="color: #FFFFFF; font-size: small" 
                                                        Text="Hora: "></asp:Label>
                                                    <asp:Label ID="lblHora" runat="server" style="color: #FFFFFF; font-size: small" 
                                                        Text="Label"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: left">
                                                    <asp:Label ID="Label7" runat="server" style="color: #FFFFFF; font-size: small" 
                                                        Text="Motivo: "></asp:Label>
                                                    <asp:Label ID="lblMotivo" runat="server" 
                                                        style="color: #FFFFFF; font-size: small" Text="Label"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left">
                                                    <asp:Label ID="lblApe0" runat="server" style="color: #FFFFFF; font-size: small" 
                                                        Text="Observacion del Cliente:"></asp:Label>
                                                    &nbsp;<asp:Label ID="lblObservacionCliente" runat="server" Text="LabelObsCliente"></asp:Label>
                                                    <br />
                                                    <br />
                                                    <asp:TextBox ID="txtRespuestaEmpresa" runat="server" BackColor="#0085C6" 
                                                        BorderStyle="None" BorderWidth="0px" Font-Size="Small" ForeColor="#CCCCCC" 
                                                        Height="45px" style="font-family: Tahoma" TextMode="MultiLine" Width="291px"></asp:TextBox>
                                                    <cc1:TextBoxWatermarkExtender ID="txtRespuestaEmpresa_TextBoxWatermarkExtender" 
                                                        runat="server" TargetControlID="txtRespuestaEmpresa" 
                                                        WatermarkText="Respuesta de Empresa">
                                                    </cc1:TextBoxWatermarkExtender>
                                                </td>
                                            </tr>
                                        </table>
                                 
                                </ContentTemplate>
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="gvReunionesPendientes" 
                                        EventName="SelectedIndexChanging" />
                                </Triggers>
                            </asp:UpdatePanel>
                            <br />
                            <asp:Button ID="btnSalir1" runat="server" BackColor="#0085C6" 
                                BorderStyle="None" Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" 
                                Height="23px" onclick="btnSalir1_Click" 
                                style="margin-top: 0px; text-align: right; margin-left: 0px;" Text="Salir" 
                                Width="65px" />
                            <cc1:ModalPopupExtender ID="btnSalir1_ModalPopupExtender" runat="server" 
                                BackgroundCssClass="modalBackground" CacheDynamicResults="True" 
                                CancelControlID="btnSalir" Drag="True" DropShadow="True" Enabled="True" 
                                PopupControlID="Panel3" TargetControlID="btnCancelarReunion">
                            </cc1:ModalPopupExtender>
                            &nbsp;<asp:Button ID="btnCancelarReunion" runat="server" BackColor="#0085C6" 
                                BorderStyle="None" Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" 
                                Height="23px" style="margin-top: 0px; text-align: right; margin-left: 0px;" 
                                Text="Cancelar" ToolTip="Cancelar Reunión" Width="65px"  
                                />
                            &nbsp;<asp:Button ID="btnConfirmarReunion" runat="server" BackColor="#0085C6" 
                                BorderStyle="None" Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" 
                                Height="23px" onclick="btnConfirmarReunion_Click" 
                                style="margin-top: 0px; text-align: right; margin-left: 0px; font-style: italic;" 
                                Text="Confirmar" ToolTip="Confirmar Reunion" Width="69px" />
                            &nbsp;&nbsp;&nbsp;&nbsp;
                        </div>
                   
        <br />
    </div>

</div>
</div> 
     
     
                                   
    
   
    

     
  
                                   
 
    
            </td>
            <td>
                </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
                    
                    
                    
                    
            <td class="style63">
   
              
                                   
    

     
  
                                   
 
    
                <cc1:ModalPopupExtender ID="Panel3_ModalPopupExtender" runat="server" 
                   DropShadow="True" Enabled="True" 
                    CancelControlID="btnSalir" PopupControlID="Panel3" 
                    TargetControlID="btnCancelarReunion" BackgroundCssClass="modalBackground" 
                    CacheDynamicResults="True" Drag="True">
                </cc1:ModalPopupExtender>
     
                    
                   
                                   
    
   
    

     
  
                                   
 
    
        <asp:Panel ID="Panel3" runat="server" BackColor="#00547D" Height="130px" 
                    style="text-align: center" Width="230px">
            <table style="width:100%;">
                <tr>
                    <td class="style70">
                        Desea cancelar la reunion?</td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="tbxMotivoCancel" runat="server" BackColor="#0085C6" 
                                    BorderStyle="None" BorderWidth="0px" Font-Size="Small" 
                                    ForeColor="#CCCCCC" Height="70px" style="font-family: Tahoma" 
                                    TextMode="MultiLine" Width="200px"></asp:TextBox>
                        <cc1:TextBoxWatermarkExtender ID="tbxMotivoCancel_TextBoxWatermarkExtender" 
                                    runat="server" TargetControlID="tbxMotivoCancel" 
                            WatermarkText="Motivo">
                        </cc1:TextBoxWatermarkExtender>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right">
                        <asp:Button ID="btnSalir" runat="server" BackColor="#0085C6" BorderStyle="None" 
                                    Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" Height="23px" 
                                    style="margin-top: 0px; text-align: right; margin-left: 0px;" Text="Salir" 
                                    ToolTip="Cancelar Reunión" Width="65px" 
                                    onclick="btnSalir_Click" />
                        &nbsp;
                        <asp:Button ID="btnConfirmarCancelacion" runat="server" BackColor="#0085C6" 
                                    BorderStyle="None" Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" 
                                    Height="23px" style="margin-top: 0px; text-align: right; margin-left: 0px;" 
                                    Text="Confirmar" ToolTip="Cancelar Reunión" Width="65px" 
                            onclick="btnConfirmarCancelacion_Click" />
                    </td>
                </tr>
            </table>
            <br />
            <br />
            <br />
        </asp:Panel>
     
     
                                   
    
   
    

     
  
                                   
 
    
    
            </td>
            <td>
     
                    
                   
                                   
    
   
    

     
  
                                   
 
    
                &nbsp;</td>
        </tr>
    </table>


                     
                     <script type="text/javascript" language="javascript">

jQuery(document).ready(function(){
	$('.accordion .head').click(function() {
		$(this).next().toggle();
		return false;
	}).next().hide();
});
//jQuery(document).ready(function(){
//	$('.accordion .head').click(function() {
//		$(this).next().toggle('slow');
//		return false;
//	}).next().hide();
//});
</script>


</asp:Content>

